package com.yt.service;

import com.yt.entity.User;
import com.yt.util.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Classname GetInfoFeign
 * @Description
 * @Date 2021/10/20 19:34
 * @Create by 杨涛
 */
@Component
@FeignClient(value = "CLOUD-PAY-HYSTRIX-SERVICE",fallback = GetInfoFeignImpl.class)
public interface GetInfoFeign {
    @RequestMapping("/getinfook")
    public String getinfo_timeok();

    @RequestMapping("/getinfoout")
    public String getinfo_timeout() ;
}
